package cn.edu.scau.dropship.entity;

public class Wallets {
    private Integer id;

    private String password;

    private Double money;

    private Integer userId;

    public Wallets(Integer id, String password, Double money, Integer userId) {
        this.id = id;
        this.password = password;
        this.money = money;
        this.userId = userId;
    }

    public Wallets() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}